<template>
  <!-- 轮播图 -->
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(item) in baseStore.CatBanner.banner_list" :key="item.banner_id">
        <van-image
         width="100%"
         :src="item.banner_img"
         radius="5"
        />
      </van-swipe-item>
    </van-swipe>
</template>

<script setup lang="ts">
  import { useBaseStore } from '../../store';
  let baseStore = useBaseStore();
</script>

<style scoped lang="less">
  .my-swipe{
    margin-top: 10px;
		.van-swipe-item{
			padding: 0px 10px;
			box-sizing: border-box;
		}
	}
</style>